#ifndef MESH_H_H
#define MESH_H_H
#include "gl3w.h"

extern float boxX;
extern float boxY;
extern float boxZ;

extern float minBoxX;
extern float minBoxY;
extern float maxBoxX;
extern float maxBoxY;

class Mesh
{
public:
	Mesh();

	void CreateMesh(GLfloat *vertices, unsigned int *indices, unsigned int numOfVertices, unsigned int numOfIndices);
	void RenderMesh();
	void ClearMesh();

	~Mesh();

private:
	GLuint VAO, VBO, IBO;
	GLsizei indexCount;
};

#endif
